package com.anfeng.cms.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author 吴朋
 * @date 2019/7/22
 */
@Getter
@Setter
public class ExportRosterDetailExcel implements Serializable {

    private static final long serialVersionUID = -2917827794821521237L;
    /**
     * 排班名
     */
    @Excel(name = "班次名称", orderNum = "0")
    private String rosterName;

    /**
     * 员工名字
     */
    @Excel(name = "姓名", orderNum = "1")
    private String empName;

    /**
     * 部门名称
     */
    @Excel(name = "部门", orderNum = "2")
    private String deptName;
    /**
     * 工种名称
     */
    @Excel(name = "工种", orderNum = "3")
    private String jobName;

    /**
     * 员工编号
     */
    @Excel(name = "员工编号", orderNum = "4")
    private String empNo;
    /**
     * 员工手机号
     */
    @Excel(name = "手机号", orderNum = "5", width = 16)
    private String empMobile;

    /**
     * 排班类型 （1 长期排班  2 临时排班）
     */
    @Excel(name = "类型", orderNum = "6", replace = {"临时_1", "长期_2"})
    private Integer rosterType;
}
